home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / ARP-DOCS1.3 / Move < prev    next >
Text File  |  1990-06-22  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      Move(V1.3)              ARP User's Manual              Move(V1.3)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Move - Move (Rename) a file.
  10.  
  11.      SYNOPSIS
  12.           Move From/a To=As/a CASE/s QUIET/s
  13.  
  14.      DESCRIPTION
  15.           This command is the same as Rename, but can also Move
  16.           (rename) files from device to device.  This is a far more
  17.           capable command, and you should consider replacing Rename
  18.           entirely with this command, and use an Alias (see the Ash
  19.           Manual for more information on Alias's) for older scripts
  20.           which still need Rename. Using Move to move files from
  21.           device to device is cleaner (and usually faster) than using
  22.           a Copy and then a Delete.
  23.  
  24.      FILE SPECIFICATION
  25.           As usual with ARP commands, you have a lot of flexibility in
  26.           specifying the files you wish to move, and the names you
  27.           wish to move them to. For the From argument, you can specify
  28.           a single file, or a range of files using patterns.  The To
  29.           argument can be a single file (if From was a single file) or
  30.           it can be a directory or a pathname. If you want to move
  31.           files to the current directory, you can use a single dot
  32.           ('.') to indicate the current directory.
  33.  
  34.           You can specify wildcard characters in the To argument,
  35.           which will cause Move to build a new filename based on the
  36.           old.  The syntax expected is:
  37.  
  38.           <optional_prefix>*<optional_postfix>
  39.  
  40.           You may specify neither, one, or both of these optional
  41.           tags.  If you exceed the length of an AmigaDOS filename (30
  42.           characters as of this writing) the name will be silently
  43.           truncated.  You can also indicate which portion of the From
  44.           filename you want to be replaced by using the wildcard
  45.           characters in the source pattern.  The rule followed is that
  46.           any constant (i.e., non-wildcarded portion) of the
  47.           source pattern is discarded.  As an example, the
  48.           command:
  49.  
  50.              Move l* start*end
  51.  
  52.           will move all files beginning with an 'l'.  The destination
  53.           names these will be copied to will be formed by removing the
  54.           'l', and sticking 'start' on the front, and 'end' on the
  55.           back.  So, for example, the file 'LXXX' would be copied to
  56.           the file 'startXXXend'. If the start or end patterns are
  57.           omitted, these are regarded as null strings.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/28/89)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      Move(V1.3)              ARP User's Manual              Move(V1.3)
  71.  
  72.  
  73.  
  74.      OPTIONS
  75.           CASE If you specify the CASE keyword, Move will CAPITALIZE
  76.            the first character in each destination file.  A handy
  77.            way to make all of the commands in a directory start
  78.            with a Capital is to use the command:
  79.         1> Move SomeDir/* SomeDir CASE.
  80.  
  81.           QUIET
  82.                If you use wildcards, Move will report its activities
  83.                as it moves the files. This switch overrides this
  84.                behavior, causing Move to do its work silently.  Note
  85.            that error messages will still be displayed even if
  86.            QUIET has been selected.
  87.  
  88.      EXAMPLE
  89.           Move df0:c/why RAD:c CASE
  90.  
  91.           This moves the file why to the directory RAD:c, capitalizing
  92.           the destination filename to "Why".
  93.  
  94.           Move df1:src/*.c ARCHIVES:src
  95.  
  96.           This Moves all the files ending in '.c' to the directory src
  97.           on the volume ARCHIVES.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/28/89)
  130.  
  131.  
  132.  
  133.